﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>
		<style type="text/css">
#con {
	MARGIN: 0px; WIDTH: 736px; FLOAT: left; HEIGHT: 1100px; FONT-SIZE: 12px
}
OL LI {
	MARGIN: 8px
}
BODY {
	BACKGROUND-IMAGE: none; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Arial, Helvetica, sans-serif, "宋体"; COLOR: #0066cb; FONT-SIZE: 12px; PADDING-TOP: 0px
}
#tags {
	BORDER-BOTTOM: #9fc9df 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 32px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 736px; PADDING-RIGHT: 0px; FLOAT: left; HEIGHT: 32px; FONT-SIZE: 14px; OVERFLOW: hidden; PADDING-TOP: 0px
}
#biaoti {
	BACKGROUND-IMAGE: url(<%=basePath%>resource/img/index/list1.jpg); PADDING-BOTTOM: 14px; LINE-HEIGHT: 29px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 660px; PADDING-RIGHT: 0px; BACKGROUND-REPEAT: repeat-x; BACKGROUND-POSITION: left bottom; FLOAT: left; HEIGHT: 29px; COLOR: #124071; FONT-SIZE: 15px; OVERFLOW: hidden; FONT-WEIGHT: bold; PADDING-TOP: 0px
}
#tags LI {
	BACKGROUND-IMAGE: url(<%=basePath%>resource/img/index/list1.jpg); PADDING-BOTTOM: 0px; LIST-STYLE-TYPE: none; PADDING-LEFT: 0px; WIDTH: auto; PADDING-RIGHT: 0px; BACKGROUND-REPEAT: repeat-x; BACKGROUND-POSITION: left bottom; FLOAT: left; HEIGHT: 32px; OVERFLOW: hidden; MARGIN-RIGHT: 5px; PADDING-TOP: 0px;cursor:pointer;
}
#tags LI A {
	cursor:pointer;;BACKGROUND-IMAGE: url(<%=basePath%>resource/img/index/1-2-1.jpg); PADDING-BOTTOM: 0px; LINE-HEIGHT: 32px; MARGIN: 0px; PADDING-LEFT: 10px; WIDTH: auto; PADDING-RIGHT: 0px; BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: "宋体"; BACKGROUND-POSITION: left bottom; FLOAT: left; HEIGHT: 32px; COLOR: #002c58; FONT-SIZE: 13px; OVERFLOW: hidden; TEXT-DECORATION: none; PADDING-TOP: 0px
}
#tags LI A .bei {
	BACKGROUND-IMAGE: url(<%=basePath%>resource/img/index/1-3-1.jpg); PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 10px; BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: right bottom; FLOAT: left; HEIGHT: 32px; OVERFLOW: hidden; PADDING-TOP: 0px
}
#tags LI.emptyTag {
	WIDTH: 4px; BACKGROUND: none transparent scroll repeat 0% 0%
}
#tags LI.selectTag {
	BACKGROUND-IMAGE: none; POSITION: relative; LINE-HEIGHT: 32px; BACKGROUND-REPEAT: repeat; BACKGROUND-POSITION: left top; FLOAT: left; HEIGHT: 32px
}
#tags LI.selectTag A {
	BACKGROUND-IMAGE: url(<%=basePath%>resource/img/index/1-1-1.jpg); LINE-HEIGHT: 32px; PADDING-LEFT: 10px; BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: left bottom; FLOAT: left; HEIGHT: 32px; COLOR: #fff; FONT-WEIGHT: bold
}
#tags LI.selectTag A .bei {
	BACKGROUND-IMAGE: url(<%=basePath%>resource/img/index/1-4-1.jpg); LINE-HEIGHT: 32px; PADDING-RIGHT: 10px; BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: right bottom; FLOAT: left; HEIGHT: 32px; COLOR: #fff
}
#tagContent {
	BORDER-BOTTOM: #aecbd4 0px solid; BORDER-LEFT: #aecbd4 0px solid; PADDING-BOTTOM: 0px; BACKGROUND-COLOR: #fff; PADDING-LEFT: 0px; WIDTH: 736px; PADDING-RIGHT: 0px; FLOAT: left; HEIGHT: auto; BORDER-TOP: #aecbd4 0px solid; BORDER-RIGHT: #aecbd4 0px solid; PADDING-TOP: 0px
}
.tagContent {
	PADDING-BOTTOM: 10px; WIDTH: 736px; DISPLAY: none; FLOAT: left; HEIGHT: auto; COLOR: #0066cb; OVERFLOW: hidden; PADDING-TOP: 10px
}
#tagContent DIV.selectTag {
	DISPLAY: block; FLOAT: left
}
.list-1 {
	BACKGROUND-IMAGE: url(<%=basePath%>resource/img/index/list-1.jpg); TEXT-ALIGN: left; LINE-HEIGHT: 24px; PADDING-LEFT: 4px; WIDTH: 93px; BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: left center; FLOAT: right; HEIGHT: 24px; COLOR: #002c58
}
LI {
	PADDING-BOTTOM: 0px; LIST-STYLE-TYPE: none; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
.rolinList {
	TEXT-ALIGN: left; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 736px; PADDING-RIGHT: 0px; FLOAT: left; HEIGHT: auto; PADDING-TOP: 0px
}
.rolinList LI {
	BORDER-BOTTOM: #dadada 0px solid; BORDER-LEFT: #dadada 0px solid; MARGIN-BOTTOM: 1px; BORDER-TOP: #dadada 0px solid; BORDER-RIGHT: #dadada 0px solid
}
.rolinList LI H2 {
	PADDING-BOTTOM: 0px; LINE-HEIGHT: 40px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 724px; PADDING-RIGHT: 0px; BACKGROUND: #fff; HEIGHT: 40px; COLOR: #003366; FONT-SIZE: 14px; CURSOR: pointer; PADDING-TOP: 0px
}
.content {
	 WIDTH: 734px; BACKGROUND: #fafafa; HEIGHT: auto
}
.content P {
	PADDING-BOTTOM: 0px; LINE-HEIGHT: 20px; MARGIN: 0px; PADDING-LEFT: 12px; WIDTH: 710px; PADDING-RIGHT: 12px; HEIGHT: auto; PADDING-TOP: 0px
}
DIV.sabrosus {
	TEXT-ALIGN: center; PADDING-BOTTOM: 6px; MARGIN: 0px; PADDING-LEFT: 6px; WIDTH: 620px; PADDING-RIGHT: 6px; FLOAT: left; HEIGHT: 30px; PADDING-TOP: 15px
}
DIV.sabrosus A {
	BORDER-BOTTOM: #9aafe5 1px solid; BORDER-LEFT: #9aafe5 1px solid; PADDING-BOTTOM: 2px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; COLOR: #2e6ab1; BORDER-TOP: #9aafe5 1px solid; MARGIN-RIGHT: 2px; BORDER-RIGHT: #9aafe5 1px solid; TEXT-DECORATION: none; PADDING-TOP: 2px
}
DIV.sabrosus A:hover {
	BORDER-BOTTOM: #2b66a5 1px solid; BORDER-LEFT: #2b66a5 1px solid; BACKGROUND-COLOR: lightyellow; COLOR: #000; BORDER-TOP: #2b66a5 1px solid; BORDER-RIGHT: #2b66a5 1px solid
}
DIV.pagination A:active {
	BORDER-BOTTOM: #2b66a5 1px solid; BORDER-LEFT: #2b66a5 1px solid; BACKGROUND-COLOR: lightyellow; COLOR: #000; BORDER-TOP: #2b66a5 1px solid; BORDER-RIGHT: #2b66a5 1px solid
}
DIV.sabrosus SPAN.current {
	BORDER-BOTTOM: navy 1px solid; BORDER-LEFT: navy 1px solid; PADDING-BOTTOM: 2px; BACKGROUND-COLOR: #2e6ab1; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; COLOR: #fff; BORDER-TOP: navy 1px solid; FONT-WEIGHT: bold; MARGIN-RIGHT: 2px; BORDER-RIGHT: navy 1px solid; PADDING-TOP: 2px
}
DIV.sabrosus SPAN.disabled {
	BORDER-BOTTOM: #929292 1px solid; BORDER-LEFT: #929292 1px solid; PADDING-BOTTOM: 2px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; COLOR: #929292; BORDER-TOP: #929292 1px solid; MARGIN-RIGHT: 2px; BORDER-RIGHT: #929292 1px solid; PADDING-TOP: 2px
}
.ddddddddddd {
	LINE-HEIGHT: 30px;
	PADDING-LEFT: 10px;
	height: 35px;
	padding-top:10px;
	WIDTH: 734px;
	BACKGROUND-REPEAT: no-repeat;
	BACKGROUND-POSITION: 38px 9px;
	FONT-SIZE: 14px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #6DC6EB;
}
.content .ddddddddddd A {
	COLOR: #0066cb; TEXT-DECORATION: none
}
.ddddddddddd A:hover {
	COLOR: #f63
}
.content .ddddddddddd .messageTitle {
	PADDING-BOTTOM: 30px; MARGIN: 0px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; LETTER-SPACING: 2px; COLOR: #bea676; FONT-SIZE: 18px; PADDING-TOP: 15px
}
.content .ddddddddddd .messageContent {
	PADDING-BOTTOM: 5px; PADDING-LEFT: 5px; WIDTH: 100%; PADDING-RIGHT: 5px; PADDING-TOP: 0px
}
.content .ddddddddddd .messageTime {
	PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; COLOR: #acacac; FONT-SIZE: 13px; PADDING-TOP: 0px
}
.content .ddddddddddd .messageTitle .slideUp {
	PADDING-BOTTOM: 2px;
	PADDING-LEFT: 3px;
	DISPLAY: inline-block;
	PADDING-RIGHT: 3px;
	COLOR: #000000;
	FONT-SIZE: 13px;
	CURSOR: pointer;
	FONT-WEIGHT: 600;
	PADDING-TOP: 2px;
	line-height: 30px;
	text-align: center;
	height: 28px;
	width: 82px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	background-image: url(<%=basePath%>resource/img/index/sq.gif);
	background-repeat: no-repeat;
	background-position: center center;
}
.content .aboutUs {
	HEIGHT: 800px; OVERFLOW: auto
}
.content P {
	WIDTH: 95%
}
.content #messageList {
}
.content #aboutUs .messageTitle .slideUp {
	PADDING-BOTTOM: 2px;
	PADDING-LEFT: 3px;
	PADDING-RIGHT: 3px;
	COLOR: #000000;
	FONT-SIZE: 13px;
	CURSOR: pointer;
	FONT-WEIGHT: 600;
	PADDING-TOP: 2px;
	background-image: url(<%=basePath%>resource/img/index/sq.gif);
	background-repeat: no-repeat;
	background-position: center center;
	height: 28px;
	width: 82px;
	text-align: center;
	line-height: 30px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}
.messageContent P {
	WIDTH: 95%
}
</style>
		<script src="<%=basePath%>resource/js/jquery-1.4.2.js"></script>
		<link href="<%=basePath%>resource/css/pagination2.css"
			rel="stylesheet" type="text/css" />
		<script src="<%=basePath%>resource/js/pagination2.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>index/shangjia/pro.js"></script>
		<script language="javascript">
/*第一种形式 第二种形式 更换显示样式*/
function setTab(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var con=document.getElementById("con_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  con.style.display=i==cursel?"block":"none";
 }
}
</script>
		<script type="text/javascript">
//<![CDATA[
window.onload = function() {
var aboutUsObj = jQuery('#aboutUs');
var aboutUsHeight = aboutUsObj.outerHeight(true);
//if(aboutUsHeight>800){
//	aboutUsObj.addClass('aboutUs');
//}
var aboutUsImg = jQuery('#aboutUs img');
aboutUsImg.each(function(){
var imgObj = new Image(); 
imgObj.src = $(this).attr('src'); 
	if(imgObj.width>720&&this.id!='brandLogo')
 		$(this).width(720);//所有宽度-20px
});
var contentImg = jQuery('.messageContent img');
contentImg.each(function(){
var imgObj = new Image(); 
imgObj.src = $(this).attr('src'); 
	if(imgObj.width>720)
 		$(this).width(720);//所有宽度-20px
});
parent.initIframeHeight(getHeight('tagContent')+100);
}

//]]>
</script>
	</head>

	<body>
		<div id="con">
			<ul id="tags">
				<li class="selectTag">
					<a onClick="selectTag('tagContent0',this)"
						href="javascript:void(0)"><span class="bei"><s:property
								value="#brandobj.name" />
					</span> </a>
				</li>
				<li>
					<a onClick="selectTag('tagContent1',this)"
						href="javascript:void(0)"><span class="bei">评价口碑</span> </a>
				</li>
			</ul>
			<div id="tagContent">
				<div class="tagContent selectTag" id="tagContent0">
					<ul class="rolinList" id="rolin">
						<li id="aboutUsLi">
							<div class="content" id="aboutUsC">
								<div id="aboutUs">
									<div class="ddddddddddd" style="height:120px;" id="dddd_brandT">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="1" >
												<tr id="btt_brandT" style="display: block">
													<td>
														<table width="99%" border="0" cellpadding="0"
																			cellspacing="1">
															<tr>
																<td rowspan="2" width="144px" height="60px">
																<img id="brandLogo" src="<%=basePath%><s:property value="#brandobj.imgsrc"/>" width="144px" height="60px" />
																</td>
																<td style="padding-left: 10px;">
																	<s:if test='%{#brandobj.accTitle==null||#brandobj.accTitle==""}'>商家介绍</s:if>
																	<s:else><s:property value='#brandobj.accTitle' escape="false" /></s:else>
																</td>
																<td align="right">
																	<img
																		onclick="return IndexDeploy('brandT',1)"
																		style="cursor: pointer;float: right;display: none" title="展开"
																		src="<%=basePath%>resource/img/sq.gif"
																		id="img_brandT" />
																		<div style="background: url('<%=basePath%>resource/img/sq.gif') no-repeat;width:82px;height:28px;text-align:left;line-height:28px;padding-left:10px;color:#000;font-size:12px;font-weight:600;cursor:pointer" onclick="return IndexDeploy('brandT',1)">展&nbsp;&nbsp;开</div>
																		
																</td>
															</tr>
															<tr>
																<td colspan="2" style="padding-left: 10px;text-indent:2em;padding-top: 5px;font-size:12px;line-height:150%">
																	<s:if test='%{#brandobj.brandDescShort==null||#brandobj.brandDescShort==""}'>暂无详细介绍</s:if>
																	<s:property value="#brandobj.brandDescShort"/>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tbody id="cate_brandT" style="display: none">
													<tr>
														<td bgcolor="#F7F7F1">
															<div class="messageTitle">
																<a name="tag_brandT"></a><img
																		src="<%=basePath%>resource/img/ann_icon.gif" />&nbsp;&nbsp;<s:if test='%{#brandobj.accTitle==null||#brandobj.accTitle==""}'>商家介绍</s:if>
																<s:else><s:property value='#brandobj.accTitle' escape="false" /></s:else>&nbsp;&nbsp;&nbsp;&nbsp;<span class="slideUp" onclick="IndexDeploy('brandT',1)">收&nbsp;&nbsp;起&nbsp;&nbsp;</span>
															</div>
															<div class="messageContent">
																<s:property value="#brandobj.brandDesc" escape="false" />
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</div>
										<s:iterator value="#message3List">
										<div class="ddddddddddd" id="dddd_<s:property value="id" />">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="1" >
												<tr id="btt_<s:property value="id" />">
													<td>
														<table width="100%" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td width="24">
																	<s:if test='%{recommend=="1"}'>
																		<s:if test='%{isTop=="1"}'>
																			<img
																			src="<%=basePath%>resource/img/pin_3.gif" title="首页推荐|本版置顶"/>
																		</s:if>
																		<s:else>
																			<img
																			src="<%=basePath%>resource/img/pin_2.gif" title="首页推荐"/>
																		</s:else>
																	</s:if>
																	<s:elseif test='%{isTop=="1"}'>
																		<img
																		src="<%=basePath%>resource/img/pin_1.gif" title="本版置顶"/>
																	</s:elseif>
																	<s:else>
																		<img
																		src="<%=basePath%>resource/img/folder_new.gif" />
																	</s:else>
																</td>
																<td width="26" align="center">
																	<img
																		onclick="return IndexDeploy('<s:property value="id" />',1)"
																		style="cursor: pointer;" title="展开"
																		src="<%=basePath%>resource/img/index/cate_open.gif"
																		id="img_<s:property value="id" />" />
																</td>
																<td valign="bottom">
																	<a target="_parent"
																		href="javascript:void(0)" onclick="IndexDeploy('<s:property value="id" />',1)"><s:property
																			value="titleSpe" escape="false" />
																	</a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tbody id="cate_<s:property value="id" />"
													style="display: none">
													<tr>
														<td bgcolor="#F7F7F1">
															<div class="messageTitle">
																<a name="tag_<s:property value="id" />"></a><s:property value="title" escape="false" />&nbsp;&nbsp;&nbsp;&nbsp;<s:if test='%{recommend=="1"}'><a href="javascript:void(0)" style="background: url('<%=basePath%>resource/img/index/index_recommend.jpg') no-repeat;height:24px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;</s:if><span class="slideUp" onclick="IndexDeploy('<s:property value="id" />',1)">收&nbsp;&nbsp;起&nbsp;&nbsp;</span>
															</div>
															<div class="messageTime">
																<s:property value="creatTimeFormat" escape="false" />
															</div>
															<div class="messageContent">
																<s:property value="content" escape="false" />
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</div>
									</s:iterator>
									<s:iterator value="#message2List">
										<div class="ddddddddddd" id="dddd_<s:property value="id" />">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="1" >
												<tr id="btt_<s:property value="id" />">
													<td>
														<table width="100%" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td width="24">
																	<s:if test='%{recommend=="1"}'>
																		<s:if test='%{isTop=="1"}'>
																			<img
																			src="<%=basePath%>resource/img/pin_3.gif" title="首页推荐|本版置顶"/>
																		</s:if>
																		<s:else>
																			<img
																			src="<%=basePath%>resource/img/pin_2.gif" title="首页推荐"/>
																		</s:else>
																	</s:if>
																	<s:elseif test='%{isTop=="1"}'>
																		<img
																		src="<%=basePath%>resource/img/pin_1.gif" title="本版置顶"/>
																	</s:elseif>
																	<s:else>
																		<img
																		src="<%=basePath%>resource/img/folder_new.gif" />
																	</s:else>
																</td>
																<td width="26" align="center">
																	<img
																		onclick="return IndexDeploy('<s:property value="id" />',1)"
																		style="cursor: pointer;" title="展开"
																		src="<%=basePath%>resource/img/index/cate_open.gif"
																		id="img_<s:property value="id" />" />
																</td>
																<td valign="bottom">
																	<a target="_parent"
																		href="javascript:void(0)" onclick="IndexDeploy('<s:property value="id" />',1)"><s:property
																			value="titleSpe" escape="false" />
																	</a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tbody id="cate_<s:property value="id" />"
													style="display: none">
													<tr>
														<td bgcolor="#F7F7F1">
															<div class="messageTitle">
																<a name="tag_<s:property value="id" />"></a><s:property value="title" escape="false" />&nbsp;&nbsp;&nbsp;&nbsp;<s:if test='%{recommend=="1"}'><a href="javascript:void(0)" style="background: url('<%=basePath%>resource/img/index/index_recommend.jpg') no-repeat;height:24px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;</s:if><span class="slideUp" onclick="IndexDeploy('<s:property value="id" />',1)">收&nbsp;&nbsp;起&nbsp;&nbsp;</span>
															</div>
															<div class="messageTime">
																<s:property value="creatTimeFormat" escape="false" />
															</div>
															<div class="messageContent">
																<s:property value="content" escape="false" />
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</div>
									</s:iterator>
									<s:iterator value="#message1List">
										<div class="ddddddddddd" id="dddd_<s:property value="id" />">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="1" >
												<tr id="btt_<s:property value="id" />">
													<td>
														<table width="100%" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td width="24">
																	<s:if test='%{recommend=="1"}'>
																		<s:if test='%{isTop=="1"}'>
																			<img
																			src="<%=basePath%>resource/img/pin_3.gif" title="首页推荐|本版置顶"/>
																		</s:if>
																		<s:else>
																			<img
																			src="<%=basePath%>resource/img/pin_2.gif" title="首页推荐"/>
																		</s:else>
																	</s:if>
																	<s:elseif test='%{isTop=="1"}'>
																		<img
																		src="<%=basePath%>resource/img/pin_1.gif" title="本版置顶"/>
																	</s:elseif>
																	<s:else>
																		<img
																		src="<%=basePath%>resource/img/folder_new.gif" />
																	</s:else>
																</td>
																<td width="26" align="center">
																	<img
																		onclick="return IndexDeploy('<s:property value="id" />',1)"
																		style="cursor: pointer;" title="展开"
																		src="<%=basePath%>resource/img/index/cate_open.gif"
																		id="img_<s:property value="id" />" />
																</td>
																<td valign="bottom">
																	<a target="_parent"
																		href="javascript:void(0)" onclick="IndexDeploy('<s:property value="id" />',1)"><s:property
																			value="titleSpe" escape="false" />
																	</a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tbody id="cate_<s:property value="id" />"
													style="display: none">
													<tr>
														<td bgcolor="#F7F7F1">
															<div class="messageTitle">
																<a name="tag_<s:property value="id" />"></a><s:property value="title" escape="false" />&nbsp;&nbsp;&nbsp;&nbsp;<s:if test='%{recommend=="1"}'><a href="javascript:void(0)" style="background: url('<%=basePath%>resource/img/index/index_recommend.jpg') no-repeat;height:24px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;</s:if><span class="slideUp" onclick="IndexDeploy('<s:property value="id" />',1)">收&nbsp;&nbsp;起&nbsp;&nbsp;</span>
															</div>
															<div class="messageTime">
																<s:property value="creatTimeFormat" escape="false" />
															</div>
															<div class="messageContent">
																<s:property value="content" escape="false" />
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</div>
									</s:iterator>
								</div>
							</div>
						</li>
						<li>
							<div class="content">
								<div id="messageList">
									<s:iterator value="#messagePu.list">
										<div class="ddddddddddd" id="dddd_<s:property value="id" />">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="1" >
												<tr id="btt_<s:property value="id" />">
													<td>
														<table width="100%" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td width="24">
																	<s:if test='%{recommend=="1"}'>
																		<s:if test='%{isTop=="1"}'>
																			<img
																			src="<%=basePath%>resource/img/pin_3.gif" title="首页推荐|本版置顶"/>
																		</s:if>
																		<s:else>
																			<img
																			src="<%=basePath%>resource/img/pin_2.gif" title="首页推荐"/>
																		</s:else>
																	</s:if>
																	<s:elseif test='%{isTop=="1"}'>
																		<img
																		src="<%=basePath%>resource/img/pin_1.gif" title="本版置顶"/>
																	</s:elseif>
																	<s:else>
																		<img
																		src="<%=basePath%>resource/img/folder_new.gif" />
																	</s:else>
																</td>
																<td width="26" align="center">
																	<img
																		onclick="return IndexDeploy('<s:property value="id" />',1)"
																		style="cursor: pointer;" title="展开"
																		src="<%=basePath%>resource/img/index/cate_open.gif"
																		id="img_<s:property value="id" />" />
																</td>
																<td valign="bottom">
																	<a target="_parent"
																		href="javascript:void(0)" onclick="IndexDeploy('<s:property value="id" />',1)"><s:property
																			value="titleSpe" escape="false" />
																	</a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
												<tbody id="cate_<s:property value="id" />"
													style="display: none">
													<tr>
														<td bgcolor="#F7F7F1">
															<div class="messageTitle">
																<a name="tag_<s:property value="id" />"></a><s:property value="title" escape="false" />&nbsp;&nbsp;&nbsp;&nbsp;<s:if test='%{recommend=="1"}'><a href="javascript:void(0)" style="background: url('<%=basePath%>resource/img/index/index_recommend.jpg') no-repeat;height:24px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;</s:if><span class="slideUp" onclick="IndexDeploy('<s:property value="id" />',1)">收&nbsp;&nbsp;起&nbsp;&nbsp;</span>
															</div>
															<div class="messageTime">
																<s:property value="creatTimeFormat" escape="false" />
															</div>
															<div class="messageContent">
																<s:property value="content" escape="false" />
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</div>
									</s:iterator>
								</div>
								<div id="pagnation" style="margin-top: 20px;margin-bottom:15px">
								</div>
							</div>
						</li>
					</ul>

				</div>


				<div class="tagContent" id="tagContent1">
					<iframe scrolling="no"
						src="<%=basePath%>index/shangjia/pro.htm?<s:property value="#brandobj.id"/>"
						width="100%"  frameborder="0" id="bbbb"></iframe>
				</div>
             <input id="hhh" type="hidden" value="111">
			</div>
		</div>

		<script type="text/javascript">
function selectTag(showContent,selfObj){
	//标签
	var tag = document.getElementById("tags").getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTag";
	//标签内容
	for(i=0; j=document.getElementById("tagContent"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
	if(showContent == 'tagContent1'){
		document.getElementById('bbbb').contentWindow.initHeight();
	}
}

function topage(pageNo,limit){
	if(pageNo > 1)
		jQuery('#aboutUsLi').hide();
	else{
		window.location.reload();
	}
	jQuery.get('<%=basePath%>brand/brandMessage.shtml?id=<s:property value="#brandobj.id"/>&pageNo='+pageNo+'&limit='+limit,function(mes){
		jQuery("#messageList").html('');
		var json = eval('('+mes+')');
		var str = '';
		for(var i = 0; i < json.length; i++){
				str +='<div class="ddddddddddd" id="dddd_'+json[i]['id']+'"><table width="100%" border="0" cellpadding="0" cellspacing="1" >'+
												'<tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr id="btt_'+json[i]['id']+'">';
				if(json[i]['recommend']=="1"){
					if(json[i]['isTop']=="1")
						str+='<td width="24"><img src="<%=basePath%>resource/img/pin_3.gif" /></td>';
					else
						str+='<td width="24"><img src="<%=basePath%>resource/img/pin_2.gif" /></td>';
				}else if(json[i]['isTop']=="1"){
					str+='<td width="24"><img src="<%=basePath%>resource/img/pin_1.gif" /></td>';
				}else{
					str+='<td width="24"><img src="<%=basePath%>resource/img/folder_new.gif" /></td>';
				}
				str +='<td width="26" align="center"><img onclick="return IndexDeploy(\''+json[i]['id']+'\',1)"'+
																		'style="cursor: pointer;" title="展开"'+
																		'src="<%=basePath%>resource/img/index/cate_open.gif"'+
																		'id="img_'+json[i]['id']+'" /></td><td valign="bottom">'+
																	'<a target="_parent" '+
																		'href="javascript:void(0)" onclick="IndexDeploy(\''+json[i]['id']+'\',1)">'+json[i]['titleSpe']+
																	'</a></td></tr></table></td></tr>'+
												'<tbody id="cate_'+json[i]['id']+'" style="display: none">'+
													'<tr><td bgcolor="#F7F7F1"><div class="messageTitle"><a name="tag_'+json[i]['id']+'"></a>'+
																json[i]['title']+'&nbsp;&nbsp;&nbsp;&nbsp;';
																if(json[i]['recommend']=='1')
																	str += '<a href="javascript:void(0)" style="background: url(\'<%=basePath%>resource/img/index/index_recommend.jpg\') no-repeat;height:24px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>&nbsp;&nbsp;&nbsp;&nbsp;';
			    str+='<span class="slideUp" onclick="IndexDeploy(\''+json[i]['id']+'\',1)">收&nbsp;&nbsp;起&nbsp;&nbsp;</span></div><div class="messageTime">'+
																json[i]['creatTimeFormat']+
															'</div><div class="messageContent">'+
																json[i]['content']+
															'</div></td></tr></tbody></table></div>'
		
			//str += '<div class="ddddddddddd">'+
			//		'<a target="_parent" href="<%=basePath%>brand/showMessage.shtml?messageId='+json[i]['id']+'">'+json[i]['titleSpe']+'</a></div>';
										
		}
		jQuery("#messageList").html(str);
		pagination({
			totalRecords:'<s:property value="#messagePu.totalRecords"/>',
			pageNo:pageNo,
			limit:limit,
			showPages:6,
			uri:function(pageNo,limit){
				topage(pageNo,limit);
			},
			id:'pagnation'
		})
	})
}

pagination({
	totalRecords:'<s:property value="#messagePu.totalRecords"/>',
	pageNo:'<s:property value="#messagePu.pageNo"/>',
	limit:'<s:property value="#messagePu.pageSize"/>',
	showPages:6,
	uri:function(pageNo,limit){
		topage(pageNo,limit);
	},
	id:'pagnation'
})
function swapAbout(obj){
	if(jQuery(obj).html()!='v'){
		jQuery('#aboutUs').slideUp("normal",function(){
			parent.initIframeHeight(getHeight('tagContent')+100);
			jQuery(obj).html('v');
			jQuery('#aboutUsToolBar1').hide();
		});
	} else{
		jQuery('#aboutUs').slideDown("normal",function(){
			parent.initIframeHeight(getHeight('tagContent')+100);
			jQuery(obj).html('^');
			jQuery('#aboutUsToolBar1').show();
		});
	}
}

function messageCommend(mid){
	if(parent.userid == ''){
  		alert('您还未登录，请先登录!');
  		return;
  	}
	$.get('<%=basePath%>shoperMessage/messageCommend.shtml?messageId='+mid,function(mes){
		if(mes=='1'){
			alert('推荐成功');
		}else if(mes=='3'){
			alert('您已推荐过，请勿重复推荐');
		}else{
			alert('推荐失败，请稍后再试');
		}
	})
}

function initIframeHeight(height){
	parent.initIframeHeight(height+100);
	$("#tagContent1").height(height)
	$("#bbbb").height(height)
}
$("#hhh").val(getHeight('tagContent'));
</script>
	</body>
</html>